package edu.spec.rxz.week04.class1;

public class Fish{
    private String name;
    public Fish(String name)}
	        this.name=name;
                    }
public String getName(){
        return this.name;
        }
public void eat(Sheel sheel){
        system.out.println("I eat"+this.name+",我吃"+sheel.getName());
        }
public void eat(Sheel sheel,Prawn,prawn){
        System.out.println("我是"+this.name+",我先吃"+sheel.getName()+",
        }
public static void main(String[] args){
        Sheel s=new Sheel("扇贝")；
        Prawn p=new Prawn("大龙虾")；
        Fish f=ew Fish("大鲨鱼")；
        f.eat(s):
        f.eat(s,p);
        }
        }}
